package www;

import javax.jws.WebService;

@WebService(endpointInterface = "com.tax.ws.TaxCalculator")
public class TaxCalculatorImpl implements TaxCalculator {
    @Override
    public double calculateTax(double income) {
        // 假设税率为10%
        return income * 0.1;
    }
}